package JAVA;

public class work393 {
    public static void main(String[] args) {
        int count=0;
        for (int i=100;i<=200;i++){
            for (int j=2;j<i;j++){
                if (i%j==0){
                    break;
                }else if(j==i-1){
                    count++;
                    System.out.println("第"+count+"个素数是"+i);
                }
            }
        }
        System.out.println("共有"+count+"个素数");
    }
}
